package org.springside.examples.miniweb.entity.dictionary;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.springside.examples.miniweb.entity.IdEntity;

/**
 * Province.
 */
@Entity
@Table(name = "s_province", catalog = "crm")
public class Province extends IdEntity {

	private String name;
	private String pycode;

	public Province() {
	}

	@Column(name = "name", length = 100)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "pycode", length = 50)
	public String getPycode() {
		return this.pycode;
	}

	public void setPycode(String pycode) {
		this.pycode = pycode;
	}
}
